POV-Ray : Newsgroups : povray.binaries.animations : Objects blocking waves, test and WIP (348kb) : Objects blocking waves, test and WIP (348kb) Server Time
19 Jul 2024 09:15:18 EDT (-0400)
  Objects blocking waves, test and WIP (348kb)  
From: Tim Nikias v2 0
Date: 23 Mar 2003 19:04:02
Message: <3e7e4b72@news.povray.org>
Just implemented a macro which will use an object and
determine whether to "block" a wave or not. Its rather
simple right now (just look at the jagged edges near the
cylinder, due to nodes of the array being inside and
outside the blockers), and there's definitely some work
ahead of me, but it works fine and seems to head towards
the correct direction.

For those interested, the algorithm adjusts to blocked
nodes by leaving them out of the calculation process. Thus,
even large arrays with high detail may become quiet fast if
enough of the area is blocked (although one might wonder
why such a high detail is required if most of it is blocked in
the first place). Simply put, the nodes inside the cylinder
and the box aren't touched and this may save a lot of parsing
time.

Anyways, enjoy,
Tim

--
Tim Nikias v2.0
Homepage: http://www.digitaltwilight.de/no_lights
Email: Tim### [at] gmxde


Post a reply to this message


Attachments:
Download 'water_test1.mpg' (349 KB)

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.